
function initUserModel(sequelize, DataTypes) {
    const User = sequelize.define(
        'User', {
        uid: { type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true },
        userName: DataTypes.STRING,
        password: DataTypes.STRING,
        email: DataTypes.STRING,
    },
        { tableName: 'users' }
    );
    return User;
}
module.exports = initUserModel;